package com.alibaba.citrus.ots.sales.plan.api.setting;


import com.alibaba.citrus.ots.sales.plan.dto.api.request.ChangePasswordRequest;
import com.alibaba.citrus.ots.sales.plan.dto.api.request.CheckVerificationCodeRequest;
import com.alibaba.citrus.ots.sales.plan.dto.api.request.ResetPasswordEmailRequest;
import com.alibaba.citrus.ots.sales.plan.dto.api.request.SendMailModuleRequest;
import com.alibaba.citrus.ots.sales.plan.sdo.ResetPasswordEmailSDO;
import com.alibaba.citrus.ots.sales.plan.sdo.SendMailModuleSDO;
import com.alibaba.lattice2.epoch.meshflow.model.annotation.MeshFlowService;
import com.alibaba.lattice2.epoch.sdk.model.Result;

@MeshFlowService(apps = {"bc_ots"}, name = "sendMailModuleQueryService")
public interface SendMailModuleQueryService {


    /**
     * 发送验证码
     *
     * @param sendMailModuleRequest
     * @return
     */
    Result<SendMailModuleSDO> sendMailModule(SendMailModuleRequest sendMailModuleRequest);


    /**
     * 校验验证码
     *
     * @param checkVerificationCodeRequest
     * @return
     */
    Result<Boolean> checkVerificationCode(CheckVerificationCodeRequest checkVerificationCodeRequest);
}
